Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: stb_sprintf-devel | Distribution: Fedora Project |
Version: 1.10^20250314gitf056911 | Vendor: Fedora Project |
Release: 1.fc42 | Build date: Sun Mar 16 11:51:01 2025 |
Group: Unspecified | Build host: buildhw-x86-02.iad2.fedoraproject.org |
Size: 60815 | Source RPM: stb-0^20250314gitf056911-1.fc42.src.rpm |
Packager: Fedora Project | |
Url: https://github.com/nothings/stb | |
Summary: Fast sprintf, snprintf for C/C++ |
This is a full sprintf replacement that supports everything that the C runtime sprintfs support, including float/double, 64-bit integers, hex floats, field parameters (%*.*d stuff), length reads backs, etc. Why would you need this if sprintf already exists? Well, first off, it’s *much* faster (see below). It’s also much smaller than the CRT versions code-space-wise. We’ve also added some simple improvements that are super handy (commas in thousands, callbacks at buffer full, for example). Finally, the format strings for MSVC and GCC differ for 64-bit integers (among other small things), so this lets you use the same format strings in cross platform code. It uses the standard single file trick of being both the header file and the source itself. If you just include it normally, you just get the header file function definitions. To get the code, you include it from a C or C++ file and define STB_SPRINTF_IMPLEMENTATION first. It only uses va_args macros from the C runtime to do its work. It does cast doubles to S64s and shifts and divides U64s, which does drag in CRT code on most platforms. It compiles to roughly 8K with float support, and 4K without. As a comparison, when using MSVC static libs, calling sprintf drags in 16K.
MIT OR Unlicense
* Sun Mar 16 2025 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20250314gitf056911-1 - stb_image_resize2 2.13 * Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0^20241002git31707d1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Thu Jan 09 2025 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20241002git31707d1-5 - Patch root cause of CVE-2021-45340 * Sun Dec 15 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20241002git31707d1-4 - Add a SourceLicense field * Tue Nov 26 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20241002git31707d1-3 - Remove spec-file conditionals for Fedora 39 and EPEL7 (end-of-life) * Tue Oct 22 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20241002git31707d1-2 - Revert "Conditionalize a test that uses ImageMagick" * Wed Oct 02 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20241002git31707d1-1 - stb_image_resize2 2.11 * Mon Aug 12 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20240531git013ac3b-3 - Conditionalize a test that uses ImageMagick - EPEL10 does not yet have ImageMagick * Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0^20240531git013ac3b-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri May 31 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20240531git013ac3b-1 - stb_image 2.30 * Sat May 25 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20240525git449758b-1 - stb_image_resize2 2.07 * Thu May 02 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20240213gitae721c5-7 - Patch for GHSL-2023-171/CVE-2023-45681/CVE-2023-47212 * Thu May 02 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20240213gitae721c5-6 - Patch for GHSL-2023-171/CVE-2023-45681/CVE-2023-47212 * Wed Apr 03 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20240213gitae721c5-5 - Fix a description to use American English orthography * Wed Feb 14 2024 David Abdurachmanov <davidlt@rivosinc.com> - 0^20240213gitae721c5-2 - Fix compile error on riscv64 * Tue Feb 13 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20240213gitae721c5-1 - Update to 0^20240213gitae721c5 - stb_image_resize2-devel is updated to 2.06 * Sun Feb 11 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20240208gitb7cf124-1 - Update to 0^20240208gitb7cf124 - stb_image-devel is updated to 2.29 - stb_image_resize2-devel is updated to 2.05 * Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0^20231011gitbeebb24-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Oct 25 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20231011gitbeebb24-12 - stb_vorbis: fix GHSL-2023-165 / fix CVE-2023-45675 * Wed Oct 25 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20231011gitbeebb24-11 - stb_image: fix GHSL-2023-151 / fix CVE-2023-45667 * Wed Oct 25 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20231011gitbeebb24-10 - stb_image: fix GHSL-2023-150 / fix CVE-2023-45666 * Wed Oct 25 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20231011gitbeebb24-9 - Document another bug, PR, and name (GHSL-2023-149) for CVE-2023-43898 * Wed Oct 25 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20231011gitbeebb24-8 - stb_image: fix GHSL-2023-148 / fix CVE-2023-45664 * Wed Oct 25 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20231011gitbeebb24-7 - stb_image: fix GHSL-2023-147 / fix CVE-2023-45663 * Wed Oct 25 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20231011gitbeebb24-6 - stb_image: fix GHSL-2023-146 / fix CVE-2023-45662 * Wed Oct 25 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20231011gitbeebb24-5 - stb_image: fix GHSL-2023-145 / fix CVE-2023-45661 * Wed Oct 25 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20231011gitbeebb24-4 - Document that 1454.patch fixes CVE-2023-43898 * Wed Oct 25 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20231011gitbeebb24-3 - Backport a PR fixing undefined behavior in stb_image_resize2 * Wed Oct 25 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20231011gitbeebb24-2 - Backport three PR’s fixing undefined behavior in stb_image * Wed Oct 25 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20231011gitbeebb24-1 - Update to 0^beebb24git20231011 (minor C99 fixes) * Tue Oct 10 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20231009gitc4bbb6e-2 - Fedora, EPEL9+: drop the initial “0.” from the Release * Tue Oct 10 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20231009gitc4bbb6e-0.1 - Update to 0^20231009gitc4bbb6e - A new stb_image_resize2 library is introduced - Upstream has deprecated stb_image_resize, but we still package it * Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0^20230129git5736b15-0.7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sun Jun 18 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20230129git5736b15-0.6 - Use new (rpm 4.17.1+) bcond style * Sat Jun 03 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20230129git5736b15-0.5 - Remove explicit %set_build_flags, not needed since F36
/usr/include/stb /usr/include/stb/stb_sprintf.h /usr/include/stb_sprintf.h /usr/share/licenses/stb_sprintf-devel /usr/share/licenses/stb_sprintf-devel/LICENSE
Generated by rpm2html 1.8.1
Fabrice Bellet, Wed Jun 4 19:09:13 2025